package com.summer.core.autocode;

import java.util.List;

import javax.servlet.ServletContext;

import com.summer.core.entity.Field;
import com.summer.core.entity.STable;

/**
 * 代码自动生成接口！要生成本框架代码需要实现该接口(适配器)
 * @author Administrator
 *
 */
public interface AutoCodeCreate {
	public void createCode(STable table,AutoCodePath codepath);
	public void createJsp(STable table,List<Field> fields);
	
	public void createCode(ServletContext context,STable table,AutoCodePath codepath);
	public void createJsp(ServletContext context,STable table,List<Field> fields);
}
